package com.prime.nova.clipboardsharemonitor.tools;

import android.util.Log;
import android.webkit.MimeTypeMap;
import android.webkit.URLUtil;

public class Url2Name {
	private Url2Name() {
	}
	
	public static String get(String url) {
		String extension = MimeTypeMap.getFileExtensionFromUrl(url);
		String name = URLUtil.guessFileName(url, null, extension);
		return name;
	}

}
